package com.xjaq.dify.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("创建标注请求")
public class CreateAnnotationRequest {
    
    @NotBlank(message = "问题不能为空")
    @ApiModelProperty(value = "问题", required = true)
    private String question;
    
    @NotBlank(message = "答案内容不能为空")
    @ApiModelProperty(value = "答案内容", required = true)
    private String answer;
}